package com.nuoniu.sibanyun.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 凭证分类
 * </p>
 *
 * @author 小啊刚
 * @since 2022-06-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("fab_rule_voucher_type")
@ApiModel(value="VRuleVoucherType对象", description="规则凭证分类")
public class VRuleVoucherType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "分类名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "类型:1常用凭证2规则凭证")
    @TableField("type")
    private Integer type;


}
